Module: Rawbotz::LocalShop
- Defined in:
- lib/rawbotz/local_shop.rb
Class Method Summary collapse
- .product_page_backend(product, settings) ⇒ Object
- .product_page_frontend(product, settings) ⇒ Object
Class Method Details
.product_page_backend(product, settings) ⇒ Object
7 8 9 10 |
# File 'lib/rawbotz/local_shop.rb', line 7 def self.product_page_backend(product, settings) # TODO settings could be memoized "#{settings['local_shop']['base_uri']}index.php/rawadmin/catalog_product/edit/id/#{product.product_id}" end |
.product_page_frontend(product, settings) ⇒ Object
3 4 5 6 |
# File 'lib/rawbotz/local_shop.rb', line 3 def self.product_page_frontend(product, settings) # TODO settings could be memoized "#{settings['local_shop']['base_uri']}catalog/product/view/id/#{product.product_id}" end |