Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 39
  1. #21
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Google Microdate

    A better test for line 71 would be:
    Code:
      echo (zen_get_products_price_is_priced_by_attributes((int)$_GET['products_id']) ? '' : $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') . zen_get_products_display_price((int)$_GET['products_id']));
    as this only blocks prices from products that use Priced by Attributes vs have attributes with prices ...

    To mark all Attributes to be included in the base price, first, backup your databsae ...

    Next, you can run this in the Tools ... Install SQL Patches ...
    Code:
    UPDATE products_attributes SET attributes_price_base_included = 1;
    I do not use Microdata so I really do not know how to approach this for multiple prices on 1 product ... if you find a method, let us know ...
    Last edited by Ajeh; 2 Oct 2015 at 02:08 PM.
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #22
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Google Microdate

    I don't/haven't used it yet either, but an internet search resolved to the following page: https://developers.google.com/struct...ppets/products

    On there, it looks like in the case of a product priced by attributes (possibly even just those that have attributes) that an aggregateoffer could be presented showing the lowest (current price as calculated in situation above) and highest price (requiring reverse function as provided) and that further within that aggregateoffer each possible combination could be determined through the use of itemOffered for each sub-product... Each itemOffered (product) would need to have all of the applicable information also included.

    In the end this may be something that could be included through a possible do while loop or perhaps a for loop. The goal would be to upfront identify the need for the aggregateOffer, and if it is needed, use it instead of an Offer, but then to determine the need to have indvidual itemOffered groups looping through each itemOffered to provide the necessary data for the one item, then the remaining items to then close out the aggregateOffer...

    Just an on the spot idea without digging deeper into the microdata requirements and structure.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #23
    Join Date
    Jul 2012
    Posts
    346
    Plugin Contributions
    0

    Default Re: Google Microdate

    Thank you for help.

    When I don't do yes for attribute by price and add attribute to product it shows $0.00 next to attribute. How to hide this 0 as it does not look right.

  4. #24
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Google Microdate

    Are you using the code I posted in post #21?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #25
    Join Date
    Jul 2012
    Posts
    346
    Plugin Contributions
    0

    Default Re: Google Microdate

    I tried Yes and No both for price by Attribute but it did not make difference.

    as you may see in image it shows product price $4.99 and then $0.00 next to each attribute how to hide $0.00 as it does not look nice,

    Attribute Grid is installed and contributing here. Also is it possible to show Price heading when attribute price is not $0.00 like size and quantity heading?

    Thanks

    Attachment 15751

  6. #26
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Google Microdate

    Could you do a screen shot of from the Attributes Controller for the Product:
    Hydroxycut Elite
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #27
    Join Date
    Jul 2012
    Posts
    346
    Plugin Contributions
    0

    Default Re: Google Microdate

    Attachment 15752

    Top one is price by attribute. Bottom one is not and have single price for all as $4.99 in product listing so did not enter attribute price and displaying $0.00 in attribute controller and on product page. Second product you will find in T Shirts category > First product.

  8. #28
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Google Microdate

    Do you have some type of add-on for the attributes?

    If you switch to the Classic Template, what happens on these Products on the display for the Attributes in the Catalog?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #29
    Join Date
    Jul 2012
    Posts
    346
    Plugin Contributions
    0

    Default Re: Google Microdate

    Only 1 installed it is "attribute Grid layout" I think I mentioned it earlier.


    Also just an update on feature we discusses last week or so in same thread.


    https://support.google.com/merchants.../6069143?hl=en

    talks about how google micro can catch price for each attribute instead of base price. How to get this happen with zencart?

  10. #30
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Google Microdate

    On all of your Products that are Priced by Attribute, they are ALL set with products_price = 0.00 correct?

    If so, run the following in the Tools ... Install SQL Patches ...
    Code:
    UPDATE products SET products_priced_by_attribute = 0 WHERE products_price = 0;
    Have you done any customization to Attribute Grid Layout other than install it?

    I have Attribute Grid Layout installed and cannot reproduce a screen with any product set to Priced by Attribute that shows the $0.00 next to the Attribute as you have it ...

    See if there are any changes when you run that SQL Update in the Install SQL Patches ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v138a Bulk update price attributes to reflect global % price increase
    By alexjoverton in forum General Questions
    Replies: 0
    Last Post: 28 Jan 2013, 04:37 PM
  2. Attributes to replace the price.. but not add on to default price..
    By jackson5759 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Apr 2011, 06:43 AM
  3. Replies: 17
    Last Post: 21 Mar 2010, 05:57 PM
  4. Need to show product price as ONE OF the attributes price, but not lowest??
    By infocom in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 19 Nov 2009, 06:15 PM
  5. Display price will include lowest group attributes prices plus price
    By jtjohnston in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 3 Feb 2008, 06:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR